home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / CommandP.h.z / CommandP.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  101 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: CommandP.h /main/11 1995/07/14 10:16:43 drk $ */
  12. /*
  13. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  14. /*
  15. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  16. #ifndef _XmCommandP_h
  17. #define _XmCommandP_h
  18.  
  19. #include <Xm/SelectioBP.h>
  20. #include <Xm/Command.h>
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /* Constraint part record for Command widget */
  27.  
  28. typedef struct _XmCommandConstraintPart
  29. {
  30.   char unused;
  31. } XmCommandConstraintPart, * XmCommandConstraint;
  32.  
  33. /*  New fields for the Command widget class record  */
  34.  
  35. typedef struct
  36. {
  37.   XtPointer           extension;      /* Pointer to extension record */
  38.   
  39. #ifdef _SGIMOTIF
  40.   XtPointer    _SG_vendorExtension;
  41. #endif
  42.  
  43. } XmCommandClassPart;
  44.  
  45.  
  46. /* Full class record declaration */
  47.  
  48. typedef struct _XmCommandClassRec
  49. {
  50.   CoreClassPart            core_class;
  51.   CompositeClassPart       composite_class;
  52.   ConstraintClassPart      constraint_class;
  53.   XmManagerClassPart       manager_class;
  54.   XmBulletinBoardClassPart bulletin_board_class;
  55.   XmSelectionBoxClassPart  selection_box_class;
  56.   XmCommandClassPart       command_class;
  57. } XmCommandClassRec;
  58.  
  59. externalref XmCommandClassRec xmCommandClassRec;
  60.  
  61. /* New fields for the Command widget record */
  62.  
  63. typedef struct
  64. {
  65.   XtCallbackList   callback;
  66.   XtCallbackList   value_changed_callback;
  67.   int              history_max_items;
  68.   Boolean          error;        /* error has been made visible in list */
  69.   
  70. #ifdef _SGIMOTIF
  71.   XtPointer    _SG_vendorExtension;
  72. #endif
  73.  
  74. } XmCommandPart;
  75.  
  76.  
  77. /****************************************************************
  78.  *
  79.  * Full instance record declaration
  80.  *
  81.  ****************************************************************/
  82.  
  83. typedef struct _XmCommandRec
  84. {
  85.     CorePart            core;
  86.     CompositePart       composite;
  87.     ConstraintPart      constraint;
  88.     XmManagerPart       manager;
  89.     XmBulletinBoardPart bulletin_board;
  90.     XmSelectionBoxPart  selection_box;
  91.     XmCommandPart       command;
  92. } XmCommandRec;
  93.  
  94.  
  95. #ifdef __cplusplus
  96. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  97. #endif
  98.  
  99. #endif /* _XmCommandP_h */
  100. /* DON'T ADD ANYTHING AFTER THIS #endif */
  101.